﻿using System.Text.Json.Serialization;
using MediatR;

namespace Core.Caching;

/// <summary>
/// 缓存失效
/// </summary>
/// <typeparam name="TResponse"></typeparam>
public interface ICacheInvalidatorRequest<TResponse> : IRequest<TResponse>
{
    string CacheKey => string.Empty;
    IEnumerable<string>? Tags { get; }
}
